home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / john / hc_resed / ResEdit IPS™ / card_14327.txt < prev    next >
Encoding:
Text File  |  1988-07-22  |  3.1 KB  |  96 lines

  1. -- card: 14327 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2664
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=467 top=72 right=120 bottom=507
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1002 / 1002
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: #13
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   push card
  23.   go to card id 16517
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: A000
  31. -- rect: left=466 top=126 right=174 bottom=506
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 1002 / 1002
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: #14
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   push card
  43.   go to card id 17028
  44. end mouseUp
  45.  
  46.  
  47.  
  48. -- part 3 (button)
  49. -- low flags: 00
  50. -- high flags: 0000
  51. -- rect: left=387 top=63 right=103 bottom=429
  52. -- title width / last selected line: 0
  53. -- icon id / first selected line: 0 / 0
  54. -- text alignment: 1
  55. -- font id: 0
  56. -- text size: 12
  57. -- style flags: 0
  58. -- line height: 16
  59. -- part name: skip
  60. ----- HyperTalk script -----
  61. on mouseUp
  62.   set lockScreen to true
  63.   go next card
  64.   go next card
  65.   go next card
  66.   go next card
  67.   set lockScreen to false
  68. end mouseUp
  69.  
  70.  
  71.  
  72. -- part 4 (button)
  73. -- low flags: 00
  74. -- high flags: A000
  75. -- rect: left=468 top=178 right=226 bottom=508
  76. -- title width / last selected line: 0
  77. -- icon id / first selected line: 1002 / 1002
  78. -- text alignment: 1
  79. -- font id: 0
  80. -- text size: 12
  81. -- style flags: 0
  82. -- line height: 16
  83. -- part name: #15
  84. ----- HyperTalk script -----
  85. on mouseUp
  86.   push card
  87.   go to card id 17691
  88. end mouseUp
  89.  
  90.  
  91.  
  92. -- part contents for background part 13
  93. ----- text -----
  94. Now, click in the ICN# window on the right-hand side of the screen (belonging to the Copy of Finder that we're working on) and choose Paste.  Bingo!  You should have a window that now looks exactly like the one in button example #13.
  95.  
  96. Tell you what.  Let's do one more quick change before we close everything up that will show you how to edit an ICN# that's already there.  You see that fat trash can in the window you just did your Paste into?  Double-click on that critter and see what happens:  you get a FatBits-style editor that lets you scribble all over the icon you selected!  Make the changes that you see in button example #14 (the word BURP)and, as you can see, ResEdit automatically updates the actual-size images at the bottom, showing you how the masks will appear on a normal gray desktop, as well as it's small icon image!  ResEdit does a lot of the work for you when editing icons.  Mouse around a bit, then when you're finished, click in the go-away box.  It's that easy to change icons you may already have in a file, program, or whatever!  We're all done with our changes for now, so go ahead and close up our Copy of Finder like we did on page 10.  Now choose Quit from the File menu to check on our experiment.  ResEdit will beep at you and ask you if you want to save the changes you made to Icon demo.  Click No -- remember, we just wanted temporary changes there, and look at example button #15.